//平移组件
import Base from "@/layouts/base/index.vue";
export default [
  {
    name: "base",
    path: "/base",
    component: Base,
    redirect:"/base/home/index",
    meta: {
      title: "基础设置",
      menu: { title: "基础设置", icon: "SettingOutlined", order: 2000 },
    },
    children:[
      {
        name:"base.home.index",
        path:"home/index",
        component:()=>import("@/views/base/home/index.vue"),
        meta: {
          title: "基础设置",
          menu: { title: "基础设置", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.home.receive",
        path:"home/receive",
        component:()=>import("@/views/base/home/receive.vue"),
        meta: {
          title: "接收",
          menu: { title: "接收", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.home.task",
        path:"home/task",
        component:()=>import("@/views/base/home/task.vue"),
        meta: {
          title: "执行",
          menu: { title: "执行", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.home.dispatch",
        path:"home/dispatch",
        component:()=>import("@/views/base/home/dispatch.vue"),
        meta: {
          title: "转派",
          menu: { title: "转派", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.home.reply",
        path:"home/reply",
        component:()=>import("@/views/base/home/reply.vue"),
        meta: {
          title: "回复",
          menu: { title: "回复", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.home.todo",
        path:"home/todo",
        component:()=>import("@/views/base/home/todo.vue"),
        meta: {
          title: "执行",
          menu: { title: "执行", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.task.index",
        path:"task/index",
        component:()=>import("@/views/base/task/index.vue"),
        meta: {
          title: "管理任务",
          menu: { title: "管理任务", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.todo.index",
        path:"todo/index",
        component:()=>import("@/views/base/todo/index.vue"),
        meta: {
          title: "执行任务",
          menu: { title: "执行任务", icon: "SettingOutlined", order: 2000 },
        },
      },
      {
        name:"base.profile.index",
        path:"profile/index",
        component:()=>import("@/views/base/profile/index.vue"),
        meta: {
          title: "个人中心",
          menu: { title: "个人中心", icon: "SettingOutlined", order: 2000 },
        },
      }
    ]
  },
] as RouteRecordRaw[];
